package com.example;

/**
 * @author Administrator
 */

public enum ProjectSysEnum {
    /**
     * 订单
     */
    ORDER_SERVICE("order", "el-admin-order");

    /**
     * 状态
     */
    enum StatusEnum {
        ADDED("0", "新增"),
        ENABLE("1", "启用"),
        DISABLE("2", "停用"),
        TEMP_STORAGE("3", "暂存"),
        IN_APPROVAL("4", "审批中"),
        REJECTION_APPROVAL("5", "审批驳回"),
        INVALID("6", "已作废"),
        PASS("7", "审批通过"),
        PROCESSING("8", "进行中");

        StatusEnum(String code, String name) {
            this.code = code;
            this.name = name;
        }

        private final String code;
        private final String name;

        public String getCode() {
            return code;
        }

        public String getName() {
            return name;
        }
    }


    ProjectSysEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    private final String code;
    private final String name;

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
